package com.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "hystrix")
public interface FeignService {

    @GetMapping("/api/hello")
    public String getPort();


}
